package com.gao.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gao.common.utils.PageUtils;
import com.gao.common.utils.Query;

import com.gao.dao.Jf4EquipmentDao;
import com.gao.entity.Jf4EquipmentEntity;
import com.gao.service.Jf4EquipmentService;


@Service("jf4EquipmentService")
public class Jf4EquipmentServiceImpl extends ServiceImpl<Jf4EquipmentDao, Jf4EquipmentEntity> implements Jf4EquipmentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<Jf4EquipmentEntity> page = this.page(
                new Query<Jf4EquipmentEntity>().getPage(params),
                new QueryWrapper<Jf4EquipmentEntity>()
        );

        return new PageUtils(page);
    }

}